package com.zhb.service;

import com.zhb.beans.User;
import com.zhb.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: upload_demo
 * @description:
 * @author: rainboz
 * @create: 2019-10-24 18:19
 **/
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> userList() {
        List<User> users = userMapper.userList();
        return users;
    }
}
